export default {
    username: [
        { required: true, message: "用户名不能为空", trigger: "blur" },
        { min: 3, message: "用户名必须大于3位", trigger: "blur" },
    ],
    password: [
        { required: true, message: "密码不能为空", trigger: "blur" },
        { min: 3, message: "密码必须大于3位", trigger: "blur" },
    ],
    email: [
        { required: true, message: "邮箱不能为空", trigger: "blur" },
        { type: 'email', message: "邮箱格式错误", trigger: "blur" },
    ],
    mobile: [
        { required: true, message: "手机不能为空", trigger: "blur" },
        { type: 'number', message: "手机号格式错误", trigger: "blur" },
    ]
}